package com.ss.android.article.browser.database.bookmark;

import android.support.annotation.NonNull;

import com.a.a.NightMode;
import com.a.a.u;

import java.util.Collections;
import java.util.List;

final class e implements NightMode {
    private final a b;
    private final String a;

    e(a arg1, String arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void f(@NonNull Object arg9) {
        String[] v2 = null;
        String v5 = this.a != null ? this.a : "";
        List v0 = com.ss.android.article.browser.database.bookmark.a.b(
                com.ss.android.article.browser.database.bookmark.a.a(this.b).query("bookmark", v2, "folder=?", new String[]{v5}, ((String) null), ((String) null), ((String) null)));
        Collections.sort(v0);
        ((u) arg9).onItem(v0);
        ((u) arg9).onComplete();
    }
}

